<!--ng-click="options.templateOptions['onClick'](model[options.key], options, this, $event ,model);"-->
<div class="panel">
    <!-- <div class="panel-heading">
        <h3 class="panel-title" ng-if="to.label">
            {{to.label}}
        </h3>
    </div> -->
    <div class="panel-body" style="padding:0px">
        <div class="form-group col-xs-12" ng-class={ 'has-error':showError} ng-model="model[options.key].id">
            <div class="input-group col-xs-12">
                <!-- <div class="col-xs-2">
                    <img src="assets/images/avatar-1.jpg" style="border-radius:20%" alt="{{model[options.key].name}}">{{model[options.key].name}}
                </div> -->
                <div class="col-xs-2">
                    <label class="control-label">姓名*</label>
                    <div class="input-group">
                        <input class="form-control" type="text" ng-model="model[options.key].name" />
                        <span class="input-group-btn">
                            <button class="btn btn-default"
                                    ng-click="options.templateOptions['openModal']('lg',options,to.modal);"
                                    type="button"><i class="glyphicon glyphicon-search"></i></button>
                             
                        </span>
                    </div>
                    <!-- <div class="input-group">
                        <input class="form-control" type="text" ng-value="model[options.key].name" />
                        <span class="input-group-btn">
                            <button class="btn btn-default"
                                    ng-click="options.templateOptions['openModal']('lg',options,to.modal);"
                                    type="button"><i class="glyphicon glyphicon-search"></i></button>
                        </span>
                    </div> -->
                </div>
                <div class="col-xs-2">
                    <label class="control-label">部门</label>
                    <div class="input-group">
                        <input class="form-control" ng-value="model[options.key].dept.dept" type="text" disabled="disabled" />
                    </div>
                </div>
                <div class="col-xs-2">
                    <label class="control-label">邮箱</label>
                    <div class="input-group">
                        <input class="form-control" ng-value="model[options.key].email" type="text" disabled="disabled" />
                    </div>
                </div>
                <div class="col-xs-2">
                    <label class="control-label">手机</label>
                    <div class="input-group">
                        <input class="form-control" ng-value="model[options.key].phone" type="text" disabled="disabled" />
                    </div>
                </div>
                <div class="col-xs-2">
                    <label class="control-label">电话</label>
                    <div class="input-group">
                        <input class="form-control" ng-value="model[options.key].telephone" type="text" disabled="disabled" />
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!--
<div class="panel panel-white">
    <div class="panel-heading">
        <h4 class="panel-title">{{to.label}}</h4>
    </div>
    <div class="panel-body no-padding">
        <div class="col-md-2 partition-light no-padding">
            <a ng-click="options.templateOptions['openModal']('lg',options,to.modal);" class="dropdown-toggle">
                <img src="assets/images/avatar-1.jpg" style="border-radius:20%" alt="{{model[options.key].name}}"> 
                <span class="username">{{model[options.key].name}} <i class="ti-angle-down"></i></i></span>
            </a>
        </div>

        <div class="col-md-10 no-padding">
            <div class="padding-15">
                <p>
                    部门:{{model[options.key].department}}<br>
                    邮箱:{{model[options.key].email}}<br>
                    手机:{{model[options.key].phone}}<br>
                    电话:{{model[options.key].mphone}}<br>
                </p>
            </div>
        </div>
    </div>
</div>
-->
<!--
<li class="dropdown current-user" dropdown on-toggle="toggled(open)" ng-model="model[options.key].id">
    <a href class="dropdown-toggle" dropdown-toggle>
        <img src="assets/images/avatar-1.jpg" style="border-radius:20%" alt="{{model[options.key].name}}"> <span class="username">{{model[options.key].name}} <i class="ti-angle-down"></i></i></span>
    </a>
    <ul class="dropdown-menu dropdown-dark">
        <li>
            <a>
                部门:{{model[options.key].department}}
            </a>
        </li>
        <li>
            <a>
                邮箱:{{model[options.key].email}}
            </a>
        </li>
        <li>
            <a>
                手机:{{model[options.key].phone}}
            </a>
        </li>
        <li>
            <a>
                电话:{{model[options.key].mphone}}
            </a>
        </li>
    </ul>
</li>
-->


<!-- <div class="panel panel-white">
    <div class="panel-heading">
        <h3 class="panel-title" ng-if="to.label">
            {{to.label}}
        </h3>
    </div>
    <div class="panel-body">
        <h3 class="panel-title" ng-if="to.label">
            {{to.label}}
        </h3>
        <div class="form-group col-xs-12" ng-class={'has-error':showError} ng-model="model[options.key].id">
            <div class="col-xs-2">
                <label class="control-label">姓名*</label>
                <div class="input-group">
                    <input class="form-control" type="text" ng-value="model[options.key].name" />
                    <span class="input-group-btn">
                        <button class="btn btn-default"
                                ng-click="options.templateOptions['openModal']('lg',options,to.modal);"
                                type="button"><i class="glyphicon glyphicon-search"></i></button>
                    </span>
                </div>
            </div>
            <div class="col-xs-2">
                <label class="control-label">部门</label>
                <div class="input-group">
                    <input class="form-control" ng-value="model[options.key].department" type="text" disabled="disabled" />
                </div>
            </div>
            <div class="col-xs-2">
                <label class="control-label">邮箱</label>
                <div>
                    <input class="form-control" ng-value="model[options.key].email" type="text" disabled="disabled" />
                </div>
            </div>
            <div class="col-xs-2">
                <label class="control-label">手机</label>
                <div class="input-group">
                    <input class="form-control" ng-value="model[options.key].phone" type="text" disabled="disabled" />
                </div>
            </div>
            <div class="col-xs-2">
                <label class="control-label">电话</label>
                <div class="input-group">
                    <input class="form-control" ng-value="model[options.key].mphone" type="text" disabled="disabled" />
                </div>
            </div>
        </div>
    </div>
</div> -->